
<dialog>
	<label text="新建项目"></label>
	<div id="projectType">
		<input type="radio" name="普通项目">
		<input type="radio" name="uni-app">
	</div>
	<div id="projectInfo">
		<input type="text" placeholder="项目名称">
		<input type="file" placeholder="项目路径">
	</div>
	<fieldset id="templateGroup">
		<legend>选择模板</legend>
		<table>
			<tr v-for = "item in templates" @click="selectItem(item)">
				<td>
					<img src="select.png" v-if="item.selected">
				</td>
				<td>{{item.title}}</td>
				<td>{{item.select}}</td>
			</tr>
		</table>
	</fieldset>
	<button id="create" @click="createProject()">创建</button>
</dialog>
<style type="text/css">
	dialog{
		background: white;
	}
	#projectType{
		layout: hbox;
	}
	#projectInfo{
		layout:vbox;
	}
	#templateGroup{
		layout:vbox;
	}
</style>